.el-table {
  .el-table-column--selection .cell {
    padding: 0 10px;

    .el-checkbox {
      margin-right: 0;
    }
  }

  .cell {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
  }

  .caret-wrapper {
    height: 22px;

    .sort-caret.ascending {
      top: 0;
    }

    .sort-caret.descending {
      bottom: 0;
    }
  }

  &.header-bold {
    .el-table__header {
      .cell {
        color: #000;
        font-weight: bold;

        .el-checkbox {
          color: #000;
          font-weight: bold;
        }
      }
    }
  }

  th {
    padding: 7px 0;
    color: #333;
    font-weight: bold;
    background: #f3f5fb;
  }

  td {
    padding: 7px 0;

    &.is-center {
      text-align: center;

      .is-disabled .el-input__inner {
        text-align: center;
      }
    }
  }

  &.el-table--border {
    .el-table__header th {
      border-right: 1px solid #ebeef5;

      &.is-leaf {
        border-bottom: 1px solid #ebeef5;
      }
    }

    .el-table__row {
      > td[class^='el-table_'] {
        border-right: 1px solid #ebeef5;
        border-bottom: 1px solid #ebeef5;
      }
    }
  }
}
